package com.example.hxds.dr.service;

import com.codingapi.txlcn.tc.annotation.LcnTransaction;
import com.example.hxds.common.util.PageUtils;
import org.springframework.transaction.annotation.Transactional;

import java.util.HashMap;
import java.util.Map;

/**
 * @ClassName: DriverService
 * @Description: 司机类服务层接口
 * @Author: 丛雨
 * @Date: 2024/1/13 17:11
 */
public interface DriverService {
    String registerNewDriver(Map param);

    int updateDriverAuth(Map param);

    String createDriverFaceModel(long driverId, String photo);

    HashMap login(String code);

    HashMap searchDriverBaseInfo(long driverId);

    byte searchDriverRealAuth(long driverId);

    PageUtils searchDriverByPage(Map param);

    HashMap searchDriverAuth(long driverId);

    HashMap searchDriverRealSummary(long driverId);

    int updateDriverRealAuth(Map param);
}
